import {
    DEMO
} from '../reduxConstants'
export const demo = () => {
    return {
        type: DEMO
    }
}
// 异步的 action
export function asyncDemo () {
    return dispatch => {
        setTimeout(() => {
        dispatch(demo())
        }, 2000)
    }
}